#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
#include <stddef.h>

struct S1
{
	char c1;
	char c2;
	int a;
};

struct S2
{
	char c1;
	int a;
	char c2;
};

struct S3 
{
	double b;
	char c;
	int a;
};

int main()
{
	struct S1 s1 = { 0 };
	struct S3 s3;
	//printf("%zd\n", offsetof(struct S1, c1));
	//printf("%zd\n", offsetof(struct S1, c2));
	//printf("%zd\n", offsetof(struct S1, a));
	printf("%zd\n", sizeof(s3));//16
	return 0;
}
	